package com.example.rbacmanage.mapper.system;

import com.example.rbacmanage.base.BaseMapper;
import com.example.rbacmanage.entity.system.RoleDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoleDeptMapper extends BaseMapper<RoleDept> {
    void deleteByRoleId(@Param("roleId") Long id);

    void deleteByDeptId(@Param("deptId") Long deptId);
}
